package com.example.blog.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.blog.domain.Permission;
import com.example.blog.domain.Users;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UsersMapper extends BaseMapper<Users> {
    // 根据用户名查询权限
    List<Permission> findPermissionByAccount(String account);



}
